<h1>Listing contact_fields</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Ordering</th>
  </tr>

<% @contact_fields.each do |contact_field| %>
  <tr>
    <td><%=h contact_field.name %></td>
    <td><%=h contact_field.ordering %></td>
    <td><%= link_to 'Show', contact_field %></td>
    <td><%= link_to 'Edit', edit_contact_field_path(contact_field) %></td>
    <td><%= link_to 'Destroy', contact_field, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New contact_field', new_contact_field_path %>